﻿<phone:PhoneApplicationPage
    x:Class="QuickWeb.AddRSSFeedPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="True"
    shell:SystemTray.Opacity="0.0"
    
    >

    <toolkit:TransitionService.NavigationInTransition>
        <toolkit:NavigationInTransition>
            <toolkit:NavigationInTransition.Backward>
                <toolkit:SwivelTransition Mode="BackwardIn"/>
            </toolkit:NavigationInTransition.Backward>
            <toolkit:NavigationInTransition.Forward>
                <toolkit:SwivelTransition Mode="ForwardIn"/>
            </toolkit:NavigationInTransition.Forward>
        </toolkit:NavigationInTransition>
    </toolkit:TransitionService.NavigationInTransition>
    <toolkit:TransitionService.NavigationOutTransition>
        <toolkit:NavigationOutTransition>
            <toolkit:NavigationOutTransition.Backward>
                <toolkit:SwivelTransition Mode="BackwardOut"/>
            </toolkit:NavigationOutTransition.Backward>
            <toolkit:NavigationOutTransition.Forward>
                <toolkit:SwivelTransition Mode="ForwardOut"/>
            </toolkit:NavigationOutTransition.Forward>
        </toolkit:NavigationOutTransition>
    </toolkit:TransitionService.NavigationOutTransition>


    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <!--Pivot Control-->
        <StackPanel Grid.Row="0">
            <TextBlock 
                Text="{Binding Path=LocalizedResources.addFeed, Source={StaticResource LocalizedStrings}}" Style="{StaticResource PhoneTextTitle1Style}" 
                />
        </StackPanel>

        <StackPanel Grid.Row="2" x:Name="urlInputPanel">

            <TextBlock 
                Text="{Binding Path=LocalizedResources.enterNewFeedName, Source={StaticResource LocalizedStrings}}" 
                Style="{StaticResource PhoneTextSubtleStyle}" />
            <TextBox 
                x:Name="feedNameInput" 
                />

            <TextBlock 
                Text="{Binding Path=LocalizedResources.enterNewFeedUrl, Source={StaticResource LocalizedStrings}}" 
                Style="{StaticResource PhoneTextSubtleStyle}" />
            <TextBox 
                x:Name="urlInput" 
                KeyDown="urlInput_KeyDown" 
                GotFocus="urlInput_GotFocus"/>
            
                     
            
        </StackPanel>
    </Grid>
    
</phone:PhoneApplicationPage>